<%--
  Created by IntelliJ IDEA.
  User: wangguoqing
  Date: 2017/12/18
  Time: 14:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%@ include file="/WEB-INF/taglib.jsp" %>
<%
    String path = request.getContextPath();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <title>机构权限分配</title>
    <%@ include file="/WEB-INF/jsp/include.jsp" %>
    <style type="text/css">
        .add ul {
            list-style-type: none;
            padding: 0;
            margin: 0;
            overflow-x: hidden;
        }

        .add li {
            list-style-type: none;
            padding: 0;
            margin: 0;
            width: 213px;
            height: 25px;
            line-height: 25px;
            text-align: left;
            text-indent: 3px;
            display: inline-block;
            float: left;
            border-bottom: 1px #CCCCCC dashed;
        }

        .add img {
            width: 20px;
            height: 20px;
            float: left;
        }

        .add .name {
            width: 170px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

    </style>
    <%@ include file="/WEB-INF/jsp/loading.jsp" %>
    <script type="text/javascript">
        var path = "<%=path%>";
    </script>
</head>
<body>
<div class="easyui-layout" fit="true">
    <div region="north" border="true" noheader="false"
         style="padding: 5px; height: 100px; background: none repeat scroll 0 0 #EFEFEF;">
        <div class="easyui-layout" fit="true" border="false">
            <table>
                <tr>
                    <td align="right" class="s_bg" style="width:100px;">
                        分配机构：
                    </td>
                    <td align="left" style="width:210px;">
                        <input type="text" id="orgName" name="orgName" style="width: 300px;"
                               class="easyui-validatebox"/>
                        <input type="hidden" id="orgCode" value=""/>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="s_bg">
                        分配角色：
                    </td>
                    <td align="left" style="width:210px;">
                        <input type="text" id="roles" name="roles" style="width: 300px; "  disabled = "disabled"
                               class="easyui-validatebox"   />
                        <input type="hidden" id="rolesIds" name="rolesIds" style="width: 300px;" disabled = "disabled"
                               class="easyui-validatebox"/>
                    </td>
                </tr>
            </table>
            <input type="hidden" id="userId" name="userId" value=""/>
        </div>
    </div>
    <div region="center" title="" border="false" noheader="true" style="padding: 5px 0 0 0;">
        <div class="easyui-layout" fit="true" border="false">
            <div region="center" title="角色列表信息" border="true" style="width: 500px">
                <table id="tt" title="" border="false"></table>
            </div>
            <div region="east" split="true" title="已添加角色" style="width:180px">
                <div class="add">
                    <ul id="membersList">
                        <li id="a1"><a href="#" onclick="deleteSpan(1);"><img
                                src="<%=path%>/resource/images/system/deleteBtn.png" alt=""></a>
                            <div class="name">系统管理员111111111111111111</div>
                        </li>
                    </ul>
                </div>
            </div>
            <div region="south" style="height: 40px;">
                <div style="text-align: center;margin-top: 8px;">
                    <a href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-ok"
                       onclick="submit_Add()">确定</a>
                    <a href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-cancel"
                       onclick="closeLayer();">取消</a>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
</body>
<script type="text/javascript" src="<%=path%>/resource/js/system/user/roleAssignment.js"></script>
</html>
